package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_task_log_info", comment = "任务日志表")
public class TaskLogInfo extends BaseEntity implements Serializable {

    @Column(comment = "订单号",value = "request_id")
    private String requestId;

    @Column(comment = "任务ID",value = "task_id")
    private Long taskId;

    @Column(comment = "用户ID",value = "user_id")
    private Long userId;

    @Column(comment = "卡类型Id",value = "card_type_id")
    private Long cardTypeId;

    @Column(comment = "卡号",value = "card_number")
    private String cardNumber;

    @Column(comment = "卡号ID",value = "card_number_id")
    private Long cardNumberId;

    @Column(comment = "金额",value = "amount")
    private BigDecimal amount;

    @Column(comment = "余额",value = "wallet_amount")
    private BigDecimal walletAmount;

    @Column(comment = "卡状态",value = "card_status")
    private String cardStatus;

    @Column(comment = "卡余额",value = "card_balance")
    private BigDecimal cardBalance;

    @Column(comment = "币种",value = "currency")
    private String currency;

    @Column(comment = "状态",value = "status")
    private Integer status;

    @Column(comment = "备注",value = "remark")
    private String remark;

    @Column(comment = "渠道",value = "channel_name")
    private String channelName;

    @Column(comment = "请求时间",value = "request_date")
    private Date requestDate;

    @Column(comment = "完成时间",value = "complete_date")
    private Date completeDate;

}
